isVisible
Returns whether a set of windows that may cause insets is currently visible on screen, regardless of whether it actually overlaps with this window. When running on devices with API Level 29 and before, the returned value is an approximation based on the information available. This is especially true for the IME type, which currently only works when running on devices with SDK level 23 and above.
Return
true
if and only if all windows included in typeMask
are currently visible on screen.
Parameters
typeMask
Bit mask of Types to query visibility status.